package it.cst.util;

import java.util.ArrayList;
import java.util.List;

import it.cst.entity.Match;
import it.cst.entity.User;

public class UserStat {
	private User user;
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public List<Match> getMatches() {
		return matches;
	}
	public void setMatches(List<Match> matches) {
		this.matches = matches;
	}
	public Integer getTotMatchWin() {
		return totMatchWin;
	}
	public void setTotMatchWin(Integer totMatchWin) {
		this.totMatchWin = totMatchWin;
	}
	public Integer getTotMatchLoose() {
		return totMatchLoose;
	}
	public void setTotMatchLoose(Integer totMatchLoose) {
		this.totMatchLoose = totMatchLoose;
	}
	private List<Match> matches;
	private Integer totMatchWin;
	private Integer totMatchLoose;
	private Double percMatchWin;
	public Double getPercMatchWin() {
		return percMatchWin;
	}
	public void setPercMatchWin(Double percMatchWin) {
		this.percMatchWin = percMatchWin;
	}
	public Double getPercMatchLoose() {
		return percMatchLoose;
	}
	public void setPercMatchLoose(Double percMatchLoose) {
		this.percMatchLoose = percMatchLoose;
	}
	public Integer getTotMatch() {
		return totMatch;
	}
	public void setTotMatch(Integer totMatch) {
		this.totMatch = totMatch;
	}
	private Double percMatchLoose;
	private Integer totMatch;

	
	public UserStat(){
		matches = new ArrayList<Match>();
		totMatchWin = 0;
		totMatchLoose = 0;
	}
}
